<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .active{
            background-color: brown;
            height: 5rem;
            width: 5rem;
        }

        .error
        {
            width: 5rem;
            height: 5rem;
            background-color: chartreuse;
        }

        .static
        {
            background-color: cornsilk;
            height: 15rem;
            width: 15rem;
            border-radius: 5rem;
        }
    </style>
</head>
<body>
    <div id="app">
        <!-- <div class="active"></div> -->
        <div class="static" :class="{ 'active': isActive, 'error': isError }"></div>
    </div>
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script> 
    <script>
        let app = new Vue({
            el: '#app',
            data(){
                return {
                    isActive: true,
                    isError: false,
                    static: false
                }
            }
        })
    </script>
</body>
</html>